Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 3 - Image Compression Manager / Image Compression Manager Reference
Image Compression Manager Functions / Working With Sequences


CDSequenceEnd

Your application calls the CDSequenceEnd function to indicate the end of processing for an image sequence.

pascal OSErr CDSequenceEnd (ImageSequence seqID);
seqID
Contains the unique sequence identifier that was returned by the DecompressSequenceBegin or CompressSequenceBegin function (described on page 3-107 and page 3-100, respectively).
SPECIAL CONSIDERATIONS
You must make this call to CDSequenceEnd to make sure that all resources associated with the sequence are freed.

RESULT CODES
noErr0No error
paramErr-50Invalid parameter specified
noCodecErr-8961The Image Compression Manager could not find the specified compressor
SEE ALSO
See "Compressing Sequences," which begins on page 3-31, and "Decompressing Sequences," which begins on page 3-33, for more on how to use CDSequenceEnd.
Also see "A Sample Program for Compressing and Decompressing a Sequence of Images," which begins on page 3-35, for details on how to use CDSequenceEnd.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996